﻿namespace IceDog.DNF.Program.Ef6.Models
{
    /// <summary>
    /// 订单详情
    /// </summary>
    public class OrderDetail
    {
        /// <summary>
        /// 详情id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 产品名
        /// </summary>
        public string Product { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public string UnitPrice { get; set; }
        /// <summary>
        /// 订单id
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 关联订单
        /// </summary>
        public virtual Order Order { get; set; }
    }
}
